home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Run Magazine ReRun 1984 Half 1
/
rerun-1984-01-06-side-b.d64
/
funkey apr p58
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-09-20
|
3KB
|
120 lines
10 print""
20 rem: funky monkey
30 poke36869,240
40 printchr$(147)chr$(28)tab(97)"xxxx
50 [153][199](31)[163]23)"funky monkey spells a word
60 printtab(23)"some are ones you've never heard
70 [153][163]23)"beat him spelling if you can
80 printtab(23)"and put bananas in your pan!
90 [153][199](28)[163]31)"xxxx
100 fort=1to2000:next
110 poke52,28:poke56,28:clr
120 fori=7168to7679:pokei,peek(i+25600):next
130 reada:ifa<0then340
140 forc=atoa+7:readj:pokec,j:next
150 goto130
160 data7512,0,0,0,0,0,1,10,22
170 data7528,0,31,32,64,128,0,0,1
180 data7392,0,128,64,32,32,32,64,128
190 data7168,18,18,18,19,11,7,3,15
200 data7504,31,127,255,255,221,8,0,0
210 data7408,0,128,192,192,192,192,128,224
220 data7384,18,34,34,35,19,18,10,6
230 data7400,102,102,127,129,20,20,0,0
240 data7656,144,144,136,136,144,80,96,64
250 data7648,2,2,2,1,1,0,0,0
260 data7664,129,66,60,24,1,194,60,0
270 data7544,64,64,64,128,0,0,0,0
280 data7416,255,255,255,255,255,255,255,255
290 data7488,255,255,0,0,0,0,0,0
300 data7448,32,112,63,31,31,15,15,7
310 data7456,0,0,255,255,255,255,255,255
320 data7464,0,0,252,254,254,252,248,240
330 data-1
340 p=1000:fs=0:ys=0:poke36869,255
350 printchr$(147)chr$(28)"_______"
360 fort=1to6:print"_"spc(5)"_":next
370 print"_______"
380 c$="+-\[157][157][157]@*^[157][157][157][]=[157][157][157]<>/"
390 printchr$(19)chr$(144)tab(46)c$
400 printchr$(19)tab(52)"funky monkey
410 [129]t[178]1[164]p:[130]
420 [153][163]9)"spells...":[129]t[178]1[164]p:[130]
430 [141]660
440 [153][199](19)[199](31)[163]122)[199](c);
450 [141]660
460 [139]c[178]65[176]c[178]69[176]c[178]73[176]c[178]79[176]c[178]85[167]480
470 [137]450
480 [153][199](19)[163]123)[199](c);
490 [141]660
500 [153][199](19)[163]124)[199](c)
510 [153][199](19)[199](28)[163]144)"((("
520 [153][199](19)[199](144)[163]255)[163]155);
530 [153]"funky has you have
540 printchr$(17)fschr$(158)"#$%"chr$(144)"'s";
550 printspc(4)yschr$(158)"#$%"chr$(144)"'s
560 [153][199](17)[199](144)[199](29)"1st score of 10 wins";
570 [153][199](145)
580 [153][199](19)[199](31)[163]244);
590 [153]"did funky spell a real word?
600 printtab(24)chr$(30)"press y or n
610 [161]g$:[139]g$[178]""[167]610
620 [139]g$[178]"n"[167]680
630 [139]g$[178]"y"[167]740:[137]610
640 [161]g$:[139]g$[178]""[167]640
650 [137]430
660 c[178][181]([187](.)[172]26)[170]65:[142]
670 [129]t[178]1[164]p:[130]:[142]
680 [141]870
690 [153][199](19)[199](31)[163]243);
700 [153]"can you make a real word out of funky's?
710 getg$:ifg$=""then710
720 ifg$<>"y"andg$<>"n"then710
730 ifg$="y"then880
740 gosub870
750 fs=fs+1:printtab(198)chr$(144)fs
760 iffs=10then1070
770 printchr$(19)chr$(31)tab(244);
780 print"then funky gets a banana!
790 p[178]2000:[141]670
800 [141]870
810 [153][199](19)[199](31)[163]244);
820 [153]"are you ready for another word?
830 getg$:ifg$=""then830
840 ifg$<>"n"andg$<>"y"then830
850 ifg$="n"then830
860 ifg$="y"thenp=500:goto350
870 printchr$(19)tab(242);:fori=1to44:print" ";:next:return
880 gosub870
890 printchr$(19)chr$(30)tab(248)tab(68)"press return
900 [153][199](19)[199](31)[163]244)
910 [133]"type word";a$
920 [141]870
930 [153][199](19)[163]244)[163]68)[199](30)"press y or n
940 printchr$(19)chr$(31)tab(244)"is "a$" right?
950 [161]g$:[139]g$[178]""[167]950
960 [139]g$[179][177]"y"[175]g$[179][177]"n"[167]950
970 [139]g$[178]"n"[167]740
980 [141]870
990 ys[178]ys[170]1:[153][163]210)[199](144)ys
1000 [141]870
1010 [139]ys[178]10[167]1050
1020 [153][199](19)[199](31)[163]244)"you get a banana!
1030 p=2000:gosub670
1040 goto800
1050 printchr$(19)chr$(31)tab(248)"you win!
1060 [137]1100
1070 [141]870
1080 [153][199](19)[199](31)[163]246)"funky wins!"
1090 [137]1100
1100 [153][199](144):[129]j[178]1[164]12
1110 [153][199](19)[163]46)" "[163]24)" "[163]24)" ";
1120 [153][163]24)" "[163]24)" "
1130 [153][199](19)[163]24)c$:[129]t[178]1[164]150:[130]
1140 [153][199](19)[163]24)" "[163]24)" ";
1150 [153][199](19)[163]24)" "[163]24)" "
1160 [153][199](19)[163]46)c$:[129]t[178]1[164]150:[130]:[130]
1170 [153]" play again?"
1180 [161]a$:[139]a$[178]""[167]1180
1190 [139]a$[178]"y"[167][138]